package SV_ECV;
import com.sun.xml.internal.ws.api.EndpointAddress;

import javax.net.ssl.*;
import java.io.IOException;

public class Fixed {
    static class Host {

        private static void retrieve() throws IOException {
            EndpointAddress u = null;
            HttpsURLConnection uc = (HttpsURLConnection) u.openConnection();
            uc.setHostnameVerifier(new HostnameVerifier() {

                public boolean verify(String hostname, SSLSession session) {
                    boolean valid = false;
                    try {
                        String expectedHostname = hostname.toLowerCase();
                        //...
                    } catch (Exception ex) {
                    }
                    return valid;
                }
            });
        }
    }
}
